package com.qidianit.mes.masterdata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qidianit.mes.pojo.Material;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @company 起点编程
 * @author 戴着假发的程序员
 * @date 2025/7/22
 * @description 物料Mapper接口
 */
@Mapper
public interface MaterialMapper extends BaseMapper<Material> {
    @Select("select * from material where material_id = #{id}")
    Material getById(String id);
}